import datetime
import time
# from index import getItem,setItem

def getItem(target):
    return target['test997999']

cdef setItem(dict target):
    # cdef str t='test'
    for i in range(1_000_000):
        # temp=(<bytes>f'{t}{i}')
        target[i]=i
        
target={'a':1}
_t=time.time()
setItem(target)
print(10 in target)
print (time.time()-_t)

